import Koa from "koa";
import proxy from "koa-proxies";

const app = new Koa();

app.use(
    proxy("/api", {
        target: "http://localhost:3001",
        changeOrigin: true,
    })
);

app.listen(8080);
